package com.itcast.springboot.waste_recovery.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统消息
 * </p>
 *
 * @author 小破烂
 * @since 2020-08-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SystemMessage对象", description="系统消息")
public class SystemMessage implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "系统消息id")
      @TableId(value = "message_id", type = IdType.AUTO)
    private Integer messageId;

    @ApiModelProperty(value = "系统消息内容")
    private String messageContent;

    @ApiModelProperty(value = "系统消息接收员工id")
    private Integer messageStaffId;

    @ApiModelProperty(value = "消息的订单id")
    private String messageOrderId;

    @ApiModelProperty(value = "消息是否已读")
    private Boolean messageIsread;


}
